package com.ktgj.pay.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 发票业务类型对象 invoice_businesstypedim
 * 
 * @author ruoyi
 * @date 2022-01-24
 */
public class InvoiceBusinesstypedim extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer businessid;

    /** 业务类型名称 */
    @Excel(name = "业务类型名称")
    private String businessname;

    /** 业务类型枚举(1,国内机票) */
    @Excel(name = "业务类型枚举(1,国内机票)")
    private String businessvalue;

    /** 产品分类名称 */
    @Excel(name = "产品分类名称")
    private String producttypename;

    /** 税收分类编码 */
    @Excel(name = "税收分类编码")
    private String invoicetaxcode;

    /** 税收分类名称 */
    @Excel(name = "税收分类名称")
    private String invoicetaxname;

    /** 税率 */
    @Excel(name = "税率")
    private BigDecimal invoicetax;

    /** 销售方名称 */
    @Excel(name = "销售方名称")
    private String sellertitle;

    /** 纳税人识别号(销方税号) */
    @Excel(name = "纳税人识别号(销方税号)")
    private String sellertaxno;

    /** 销售方地址 */
    @Excel(name = "销售方地址")
    private String selleraddress;

    /** 销方电话 */
    @Excel(name = "销方电话")
    private String sellerphone;

    /** 销方银行名称 */
    @Excel(name = "销方银行名称")
    private String sellerbankname;

    /** 销方银行账号 */
    @Excel(name = "销方银行账号")
    private String sellerbanknum;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastmodifytime;

    public void setBusinessid(Integer businessid) 
    {
        this.businessid = businessid;
    }

    public Integer getBusinessid() 
    {
        return businessid;
    }
    public void setBusinessname(String businessname) 
    {
        this.businessname = businessname;
    }

    public String getBusinessname() 
    {
        return businessname;
    }
    public void setBusinessvalue(String businessvalue) 
    {
        this.businessvalue = businessvalue;
    }

    public String getBusinessvalue() 
    {
        return businessvalue;
    }
    public void setProducttypename(String producttypename) 
    {
        this.producttypename = producttypename;
    }

    public String getProducttypename() 
    {
        return producttypename;
    }
    public void setInvoicetaxcode(String invoicetaxcode) 
    {
        this.invoicetaxcode = invoicetaxcode;
    }

    public String getInvoicetaxcode() 
    {
        return invoicetaxcode;
    }
    public void setInvoicetaxname(String invoicetaxname) 
    {
        this.invoicetaxname = invoicetaxname;
    }

    public String getInvoicetaxname() 
    {
        return invoicetaxname;
    }
    public void setInvoicetax(BigDecimal invoicetax) 
    {
        this.invoicetax = invoicetax;
    }

    public BigDecimal getInvoicetax() 
    {
        return invoicetax;
    }
    public void setSellertitle(String sellertitle) 
    {
        this.sellertitle = sellertitle;
    }

    public String getSellertitle() 
    {
        return sellertitle;
    }
    public void setSellertaxno(String sellertaxno) 
    {
        this.sellertaxno = sellertaxno;
    }

    public String getSellertaxno() 
    {
        return sellertaxno;
    }
    public void setSelleraddress(String selleraddress) 
    {
        this.selleraddress = selleraddress;
    }

    public String getSelleraddress() 
    {
        return selleraddress;
    }
    public void setSellerphone(String sellerphone) 
    {
        this.sellerphone = sellerphone;
    }

    public String getSellerphone() 
    {
        return sellerphone;
    }
    public void setSellerbankname(String sellerbankname) 
    {
        this.sellerbankname = sellerbankname;
    }

    public String getSellerbankname() 
    {
        return sellerbankname;
    }
    public void setSellerbanknum(String sellerbanknum) 
    {
        this.sellerbanknum = sellerbanknum;
    }

    public String getSellerbanknum() 
    {
        return sellerbanknum;
    }
    public void setLastmodifytime(Date lastmodifytime) 
    {
        this.lastmodifytime = lastmodifytime;
    }

    public Date getLastmodifytime() 
    {
        return lastmodifytime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("businessid", getBusinessid())
            .append("businessname", getBusinessname())
            .append("businessvalue", getBusinessvalue())
            .append("producttypename", getProducttypename())
            .append("invoicetaxcode", getInvoicetaxcode())
            .append("invoicetaxname", getInvoicetaxname())
            .append("invoicetax", getInvoicetax())
            .append("sellertitle", getSellertitle())
            .append("sellertaxno", getSellertaxno())
            .append("selleraddress", getSelleraddress())
            .append("sellerphone", getSellerphone())
            .append("sellerbankname", getSellerbankname())
            .append("sellerbanknum", getSellerbanknum())
            .append("createTime", getCreateTime())
            .append("lastmodifytime", getLastmodifytime())
            .toString();
    }
}
